package ar.org.cfired.creditos.parametros;

public class Ciiu {
	private String codigo;
	private String abreviatura;
	private String descripcion;
	private String division;
	
	
	public void setCodigo (String codigo) {
		if (codigo != null)
			this.codigo = codigo.substring(0, Math.min(4, codigo.length()));
		else
			this.codigo = new String();
	}
	public String getCodigo() {
		return (this.codigo);
	}

	public void setAbreviatura (String abreviatura) {
		if (abreviatura != null)
			this.abreviatura = abreviatura.substring(0, Math.min(10, abreviatura.length()));
		else
			this.abreviatura = new String();
	}
	public String getAbreviatura() {
		return (this.abreviatura);
	}

	public void setDescripcion (String descripcion) {
		if (descripcion != null)
			this.descripcion = descripcion.substring(0, Math.min(50, descripcion.length()));
		else
			this.descripcion = new String();
	}
	public String getDescripcion() {
		return (this.descripcion);
	}

	public void setDivision (String division) {
		if (division != null)
			this.division = division.substring(0, Math.min(10, division.length()));
		else
			this.division = new String();
	}
	public String getDivision() {
		return (this.division);
	}
}
